package com.lcq.study.javabase;

/**
 * @ClassName EnumTest
 * @Description
 * @Author lichuanqi
 * @Date 2022/3/23 10:23
 * @Version 1.0
 **/
public class EnumTest {
    public static void main(String[] args) {
        Response success = Response.SUCCESS;
        System.out.println(success);

    }
    enum Response{
        SUCCESS(1, "success");
        Response(int errCode, String errInfo){
            System.out.println("create Response");
        }
    }
}
